<?php
/*@author Gabriel Bronzatti Moro*/
require_once '../model/entity/Usuario.class.php';


Class RestauraPerfil{
    private $usuario;
    private $nome;
    private $email;
    private $perfil;
    
    public function __construct() {
        $this->nome= $_SESSION['usuario'];
        $this->email= $_SESSION['login'];
        
        $this->usuario= new Usuario();
        $this->perfil= $this->usuario->getPerfil($this->nome, $this->email);
    }
    
    public function getUserPerfil(){
        return $this->perfil;
    }
            
            
    
   
}